import { action, observable } from 'mobx';
import NewCoworkStore from './NewCowork';// 需要动态获取的store

export default class StoreMap {
  @observable mapStore = {
    1: new NewCoworkStore(),
    2: new NewCoworkStore(),
    3: new NewCoworkStore(),
  }

  @action
  getMapStore = key => // 动态获取的方法
     this.mapStore[key]
}

